<?php 
$view = $this->gcTemplate->gcView;
$data = $this->gcTransport->data;
$lang = $this->gcTransport->lang;
$xhtml = "";

if(isset($data) && count($data)) foreach ($data as $item){
	$start = explode("-", $item['cvex_starttime']);
	$end   = explode("-", $item['cvex_endtime']);
	$xhtml .= '<div class="job-position">
						<h4>'.$item['cvex_position'.$lang].'</h4>
					</div>
					<div class="job-details">
						<div class="curly-brace">{</div>
						<h4>'.$item['cvex_companyname'].'<span> ('.$start[1].'/'.$start[0].' - '.$end[1].'/'.$end[0].')</span></h4>
						<p>'.$item['cvex_info'.$lang].'</p>	
					</div>
					<div class="clear"></div>';
} 
?>
					<!-- Experience-->
					<h2><span><?php echo $view->translate('Experience');?></span></h2>					
					<?php if(isset($xhtml)) echo $xhtml;?>
					<!-- End Experience-->	